package com.flyco.modules.sms.service;

import com.flyco.modules.sms.entity.SmsInvitationAttribute;
import com.flyco.modules.sms.entity.SmsInvitationApply;
import com.flyco.modules.sms.entity.SmsInvitationInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 众测活动管理
 * @Author: flyco
 * @Date:   2020-03-10
 * @Version: V1.0
 */
public interface ISmsInvitationInfoService extends IService<SmsInvitationInfo> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(SmsInvitationInfo smsInvitationInfo, List<SmsInvitationAttribute> smsInvitationAttributeList, List<SmsInvitationApply> smsInvitationApplyList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(SmsInvitationInfo smsInvitationInfo, List<SmsInvitationAttribute> smsInvitationAttributeList, List<SmsInvitationApply> smsInvitationApplyList);
	
	/**
	 * 删除一对多
	 */
	public void delMain(Long id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);
	
}
